﻿@model TJBHJJ.Models.Admin
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>登录</title>
</head>
<body>
    <div style="margin: auto;">
        @using (Html.BeginForm("Logon", "Manager", FormMethod.Post))
        {        <fieldset>
            <legend>登录</legend>
            @Html.ValidationSummary(true)
            <div class="editor-label">
                @Html.LabelFor(m => m.UserName)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.PassWord)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.PassWord)
                @Html.ValidationMessageFor(m => m.PassWord)
            </div>
            <p>
                <input type="submit" value="Log On" />
            </p>
        </fieldset> 
        }
    </div>
</body>
</html>
